package com.dao;

import com.pojo.TbOrder;
import com.pojo.TbOrderList;

import java.util.List;

public interface OrderDao {

    //返回值就是订单的id

    void addOrder(String oid,long uid, long money, String aid);

    long addOrderDetail(String oid, long kzid, int num, long money);

    void updateStaus2Success(String id);

    //根据id查询状态
    String findStatusById(String id);

    List<TbOrder>findAllOrder(long uid);

    void cancelOrder(String id);





}
